<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--  controlslist="nodownload" 去掉下载按钮 -->
<!--<video controls="true" controlslist="nodownload"></video>-->
<video controls="true"  width="950px" style="margin: 30px 0 0 300px"></video>
</body>

<script type="text/javascript">
    //禁用掉video的右键菜单
    var video=document.getElementsByTagName("video")[0];
    video.oncontextmenu=function(){
        return false;
    }

    var url1="/Users/zhouyingying/Desktop/mv/test.mp4";  //电脑上视频文件的绝对路径
    var url="/Users/zhouyingying/Desktop/mv/你好，李焕英.mp4";  //电脑上视频文件的绝对路径

    //告诉服务器要播放视频文件的路径
    video.src=`/showVideo?fileName=${url}`

</script>
</html>



